home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / EDITSEAR.RC < prev    next >
Text File  |  1997-05-06  |  2KB  |  75 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1992, 1996 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.3  $
  6. //
  7. // Resources to use with TEditSearch.
  8. //----------------------------------------------------------------------------
  9.  
  10. #include <owl/editsear.rh>
  11.  
  12. #if defined(RC_INVOKED)
  13.  
  14. #if !defined(NO_IDM_EDITSEARCH) && !defined(__IDM_EDITSEARCH)
  15. #define __IDM_EDITSEARCH
  16. IDM_EDITSEARCH MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  17. {
  18.   Popup "&Edit"
  19.   {
  20.     MenuItem  "&Undo\aCtrl+Z",        CM_EDITUNDO
  21.     MenuItem  SEPARATOR
  22.     MenuItem  "Cu&t\aCtrl+X",         CM_EDITCUT
  23.     MenuItem  "&Copy\aCtrl+C",        CM_EDITCOPY
  24.     MenuItem  "&Paste\aCtrl+V",       CM_EDITPASTE
  25.     MenuItem  "&Delete\aDel",         CM_EDITDELETE
  26.     MenuItem  "C&lear All\aCtrl+Del", CM_EDITCLEAR
  27.   }
  28.   POPUP "&Search"
  29.   {
  30.     MenuItem  "&Find...",    CM_EDITFIND
  31.     MenuItem  "&Replace...", CM_EDITREPLACE
  32.     MenuItem  "&Next\aF3",   CM_EDITFINDNEXT
  33.   }
  34. }
  35. #endif
  36. #undef NO_IDM_EDITSEARCH
  37.  
  38. #if !defined(NO_IDA_EDITSEARCH) && !defined(__IDA_EDITSEARCH)
  39. #define __IDA_EDITSEARCH
  40. IDA_EDITSEARCH ACCELERATORS
  41. {
  42.   "^Z",      CM_EDITUNDO
  43.   "^X",      CM_EDITCUT
  44.   "^C",      CM_EDITCOPY
  45.   "^V",      CM_EDITPASTE
  46.   VK_DELETE, CM_EDITCLEAR,    VIRTKEY, CONTROL
  47.   VK_F3,     CM_EDITFINDNEXT, VIRTKEY
  48. }
  49. #endif
  50. #undef NO_IDA_EDITSEARCH
  51.  
  52. #if !defined(NO_IDS_EDITSEARCH) && !defined(__IDS_EDITSEARCH)
  53. #define __IDS_EDITSEARCH
  54. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  55. {
  56.   CM_EDITUNDO-1,  "Editing commands, undo and Clipboard access"
  57.   CM_EDITUNDO,    "Undo the last action"
  58.   CM_EDITCUT,     "Cut the selection and put it on the Clipboard"
  59.   CM_EDITCOPY,    "Copy the selection to the Clipboard"
  60.   CM_EDITPASTE,   "Insert the Clipboard contents at the caret"
  61.   CM_EDITDELETE,  "Delete the selection"
  62.   CM_EDITCLEAR,   "Clear the document"
  63.   CM_EDITADD,     "Insert a new line"
  64.   CM_EDITEDIT,    "Edit the current line"
  65.   CM_EDITFIND,    "Find the specified text"
  66.   CM_EDITREPLACE, "Find the specified text and change it"
  67.   CM_EDITFINDNEXT,"Find the next match"
  68.  
  69.   IDS_CANNOTFIND, "Cannot find ""%s""."
  70. }
  71. #endif
  72. #undef NO_IDS_EDITSEARCH
  73.  
  74. #endif  // defined(RC_INVOKED)
  75.